package xcmg.device.service.vo.warehouse;

import lombok.ToString;

import java.math.BigDecimal;
@ToString
public class WarehouseDeliveryRecordAddVO {

    private String barCode;

    private String businessOrder;

    private BigDecimal amount;

    private String remark;

    private String deliveryReceiptNo;

    private BigDecimal splitAmount;

    public BigDecimal getSplitAmount() {
        return splitAmount == null ? BigDecimal.ZERO : splitAmount;
    }

    public void setSplitAmount(BigDecimal splitAmount) {
        this.splitAmount = splitAmount;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getBusinessOrder() {
        return businessOrder;
    }

    public void setBusinessOrder(String businessOrder) {
        this.businessOrder = businessOrder;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeliveryReceiptNo() {
        return deliveryReceiptNo;
    }

    public void setDeliveryReceiptNo(String deliveryReceiptNo) {
        this.deliveryReceiptNo = deliveryReceiptNo;
    }
}